package blackstar.performance.transform.matcher;

/**
 * @author RayWoo (ayufox@gmail.com)
 * 
 */
public class ExcludeGetterPointCutMatcher implements PointCutMatcher
{
	public boolean isClassMatch(String className)
	{
		return true;
	}

	public boolean isMethodMatch(String methodName)
	{
		// getter方法
		if (methodName.startsWith("get") && !methodName.endsWith("V")
				&& methodName.contains("()"))
		{
			return false;
		}

		return true;
	}

	public String matchPackage(String packageName)
	{
		return "";
	}
}
